package com.ruoyi.mine.domain;

import com.ruoyi.mine.domain.relationship.MyUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的关注对象 my_concern
 *
 * @author ruoyi
 * @date 2024-07-26
 */
public class MyConcern extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long concernId;

    /** 关注者ID */
    @Excel(name = "关注者ID")
    private Long concernUserId;

    /** 被关注者ID */
    @Excel(name = "被关注者ID")
    private Long concernBeUserId;

    public MyUser getConcernBeUser() {
        return concernBeUser;
    }

    public void setConcernBeUser(MyUser concernBeUser) {
        this.concernBeUser = concernBeUser;
    }

    /**用户信息*/
    private MyUser concernBeUser;

    public void setConcernId(Long concernId)
    {
        this.concernId = concernId;
    }

    public Long getConcernId()
    {
        return concernId;
    }
    public void setConcernUserId(Long concernUserId)
    {
        this.concernUserId = concernUserId;
    }

    public Long getConcernUserId()
    {
        return concernUserId;
    }
    public void setConcernBeUserId(Long concernBeUserId)
    {
        this.concernBeUserId = concernBeUserId;
    }

    public Long getConcernBeUserId()
    {
        return concernBeUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("concernId", getConcernId())
            .append("concernUserId", getConcernUserId())
            .append("concernBeUserId", getConcernBeUserId())
                .append("concernBeUser",getConcernBeUser())
            .toString();
    }
}
